package com.ruoyi.zhgd.service;

import com.ruoyi.zhgd.domain.NWarningManagement;
import com.ruoyi.zhgd.domain.vo.NWarningManagementVo;
import com.ruoyi.zhgd.domain.bo.NWarningManagementBo;

import java.util.Collection;
import java.util.List;
import java.util.Map;

/**
 * 报警管理Service接口
 *
 * @author cj
 * @date 2023-09-26
 */
public interface INWarningManagementService {

    /**
     * 查询报警管理
     */
    NWarningManagementVo queryById(String id);


    /**
     * 查询报警管理列表
     */
    List<NWarningManagementVo> queryList(NWarningManagementBo bo);

    /**
     * 新增报警管理
     */
    Boolean insertByBo(NWarningManagementBo bo);

    /**
     * 修改报警管理
     */
    Boolean updateByBo(NWarningManagementBo bo);

    /**
     * 校验并批量删除报警管理信息
     */
    Boolean deleteWithValidByIds(Collection<String> ids, Boolean isValid);

    NWarningManagement queryPageList(Map<String, Object> params);

    List<NWarningManagement> queryHntList(Map<String, Object> params);

    void updatew(NWarningManagement management);

    void updateHnt(List<NWarningManagement> management);

    void testCollectData(String code,String deptId);

}
